package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_sys_log")
public class SysLog {

  @Id
  private String uid;
  private String userName;
  private String adminUid;
  private String ip;
  private String url;
  private String type;
  private String classPath;
  private String method;
  private String params;
  private String operation;
  private Integer status;
  private Date createTime;
  private Date updateTime;
  private String ipSource;
  private Integer spendTime;

  @Transient
  private Integer currentPage;
  @Transient
  private Integer pageSize;
  @Transient
  private String keyword;

}
